class Survivor:
    def __init__(self, name, hp, arrmor):
        self.name = name
        self.hp = hp
        self.arrmor = arrmor
        print(F"求生 {self.name} 创建中")

    def __str__(self):
        return self.name

    def run(self):
        print(f"{self.name}在逃跑")

    def decode(self):
        print(f"{self.name}在破译密码机")

    def skill(self):
        pass


class Doctor(Survivor):

    def skill(self):
        self.hp += 0.25
        print(f"{self.name}正在使用技能回血,现在有{self.hp}")


class Gardener(Survivor):

    def skill(self):
        self.arrmor += 0.5
        print(f"{self.name}正在使用技能护盾")


class Layer(Survivor):
    def sill(self):
        super().skill()
